obj
	var
		holdable = 1
		equipped = 0

	DblClick() //equip coding, through double clicking the object
		if(src.equipped) //checks if the thing being clicked is currently equipped, unequips and returns if it is
			src.equipped = 0
			src.suffix = ""
			return

		for(var/obj/o in usr.contents) //loop that unequips anything that is currently equipped
			if(o.equipped)
				o.equipped = 0
				o.suffix = ""


		if(!src.equipped) //then change what ever got clicked to equipped
			src.suffix = "Equipped"
			src.equipped = 1

	verb
		Pickup()
			set src in oview(1)
			if(src.holdable)
				src.loc = usr
				usr << "Picked up [src]"
			else
				return

	seeds
		verb
			Seed()
				set src in usr.contents
				usr << "\green this [src] is in your bags!"
		ps //potato seeds
			icon = 'obj.dmi'
			icon_state = "ps_bag"

		cs //cabbage seeds
			icon = 'obj.dmi'
			icon_state = "cs_bag"

		var
			uses = 3 //sets default amount of times that seeds can be used before being depleted

	tools
		wc //watering can
			icon = 'obj.dmi'
			icon_state = "wc"

			var
				uses = 0 //sets amount of times that watering can can be used before it must be refilled
				maxuses = 15 //max amount of uses possible

		hoe //hoe
			icon = 'obj.dmi'
			icon_state = "hoe"

	crops
		cabbage //grown cabbage
			icon = 'obj.dmi'
			icon_state = "cg"
		potato //grown potatoes
			icon = 'obj.dmi'
			icon_state = "pg"